import 'babel-polyfill'
import Vue from 'vue'
import App from './App'
import router from './router'
import fastclick from 'fastclick'
import { interceptorsOfReq, interceptorsOfRes } from './config/API-config.js';
import 'lib-flexible'
import VueWechatTitle from 'vue-wechat-title'
Vue.use(VueWechatTitle)
// import 'lib-flexible/flexible'
// import 'common/less/my-mint.less';//全局修改mint-UI样式  
import 'common/css/base.css'
import 'common/css/magic-check.css'
// import MintUI from 'mint-ui'
import moment from 'moment';
Vue.prototype.$moment = moment;

import Bridge from './config/bridge.js'
Vue.prototype.$bridge = Bridge

import isBrower from './config/browser.js'
Vue.prototype.$isBrower = isBrower

import store from '@/vuex';

import filters from './filters/index.js'
// Vue.use(MintUI);
fastclick.attach(document.body);

Vue.config.productionTip = false

// import vuePicturePreview from 'vue-picture-preview'
// Vue.use(vuePicturePreview)

import wcView from 'wc-view';
import 'wc-view/style.css';
Vue.use(wcView);

new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
